<?php
	if(!(isset($_COOKIE["islogin"])&&$_COOKIE["islogin"]==1)){
		header("Location:login.php");
		exit();
	}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>网站主页</title>
</head>
<body>
<?php
	echo '您好'.$_COOKIE['username'];
?>
<a href="./login.php?action=loginOut">退出</a>
	
</body>
</html>